package com.xly.webclick.view;

import com.xly.webclick.BR;
import com.xly.webclick.R;
import com.xly.webclick.base.BaseActivity;
import com.xly.webclick.databinding.ActivityLoginBinding;
import com.xly.webclick.vm.LoginViewModel;

/**
 * Created by xuleyuan on 2018/8/15
 */

public class LoginActivity extends BaseActivity<ActivityLoginBinding, LoginViewModel> {

    @Override
    protected int initVariableId() {
        return BR.viewModel;
    }

    @Override
    protected int initContentView() {
        return R.layout.activity_login;
    }

    @Override
    public LoginViewModel initViewModel() {
        return new LoginViewModel(this);
    }
}
